package com.crm.domain.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Business {

    @ApiModelProperty(value = "创建人")
    private String createBy;
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "姓名")
    private String name;
    @ApiModelProperty(value = "电话")
    private String phone;
    @ApiModelProperty(value = "渠道")
    private Integer channel;
    @ApiModelProperty(value = "活动ID")
    private Long activityId;
    @ApiModelProperty(value = "活动名称")
    private String activityName;
    @ApiModelProperty(value = "活动信息")
    private String activityInfo;
    @ApiModelProperty(value = "性别")
    private Integer sex;
    @ApiModelProperty(value = "年龄")
    private Integer age;
    @ApiModelProperty(value = "微信")
    private String weixin;
    @ApiModelProperty(value = "QQ")
    private String qq;
    @ApiModelProperty(value = "等级")
    private String level;
    @ApiModelProperty(value = "科目")
    private Integer subject;
    @ApiModelProperty(value = "状态")
    private Integer status;
    @ApiModelProperty(value = "分配人")
    private String assignBy;
    @ApiModelProperty(value = "分配时间")
    private LocalDateTime assignTime;
    @ApiModelProperty(value = "负责人")
    private String owner;
    @ApiModelProperty(value = "负责人时间")
    private LocalDateTime ownerTime;
    @ApiModelProperty(value = "无效次数")
    private Integer falseCount;

    @ApiModelProperty(value = "下次联系时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")

    private LocalDateTime nextTime;
    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    @ApiModelProperty(value = "转接")
    private String transfer;
    @ApiModelProperty(value = "省份")
    private String provinces;
    @ApiModelProperty(value = "城市")
    private String city;
    @ApiModelProperty(value = "区域")
    private String region;
    @ApiModelProperty(value = "课程ID")
    private Long courseId;
    @ApiModelProperty(value = "职业")
    private String occupation;
    @ApiModelProperty(value = "学历")
    private String education;
    @ApiModelProperty(value = "职位")
    private String job;
    @ApiModelProperty(value = "薪资")
    private Double salary;
    @ApiModelProperty(value = "专业")
    private String major;
    @ApiModelProperty(value = "期望薪资")
    private Double expectedSalary;
    @ApiModelProperty(value = "原因")
    private String reasons;
    @ApiModelProperty(value = "计划")
    private String plan;
    @ApiModelProperty(value = "计划时间")
    private LocalDateTime planTime;
    @ApiModelProperty(value = "其他意向")
    private String otherIntention;
    @ApiModelProperty(value = "线索ID")
    private Long clueId;
    @ApiModelProperty(value = "开始创建时间")
    private LocalDateTime beginCreateTime;
    @ApiModelProperty(value = "结束创建时间")
    private LocalDateTime endCreateTime;

    @ApiModelProperty(value = "是否在公海池存在状态(0:存在 1:不存在)")
    private Integer isExist;

}

